package com.mashibing.jvm.c4_RuntimeDataAreaAndInstructionSet;

public class LambdaGC {
    public static void main(String[] args) {
        for(;;){
            I i = C::n;
        }
    }

    // @FunctionalInterface
    public static interface I {
        void m();
    }

    public static class C {

        /*@Override
        public void m() {
            System.out.println("hello Java");
        }*/
        static void n() {
            System.out.println("hello");
        }
    }
}
